/* eslint-disable eol-last */
/* eslint-disable indent */
'use strict';

// const { Controller } = require('../../../typings/app');

module.exports = app => {
    const { router, controller } = app;
    // 我的空间
    router.get('/profile', app.middleware.loginChecks.loginCheck, controller.profile.index);
    router.get('/profile/:userName', app.middleware.loginChecks.loginCheck, controller.profile.profileUser);


};